from common.main_page import *
# from common.read_yaml import ReadYaml
from base.base import *
# airtest_data = ReadYaml(r"airtest_data.yml").get_yaml_data()#读取数据
# jiakaobaodian  = airtest_data['jiakaobaodian']
poco = MainPage().poco

# class LoginPage:
#     def __init__(self):
#         self.api = Test_Api()
#
#     def jiakao(self):
#         """
#         驾考宝典元素
#         """
#         return poco(text=jiakaobaodian['jiakao_baodian'])
# jiakao = poco(text="驾考宝典")
jiakao = '驾考宝典'
    # def baoming(self):
    #     """
    #     报名元素
    #     """
    #     return poco(text=jiakaobaodian['baoming'])
baoming = "报名"
    # def sousuokuang(self):
    #     """
    #     报名页的输入框元素
    #     """
    #     return poco(text=jiakaobaodian['baoming_shurukuang'])
sousuokuang = "搜索驾校/教练"
    # def sousuo_anniu(self):
    #     """
    #     输入框元素
    #     """
    #     return poco(text=jiakaobaodian['sousuo'])
sousuo_anniu = "搜索"
    # def wanfeng(self):
    #     """
    #     输入框元素
    #     """
    #     return poco(text=jiakaobaodian['wanfeng'])
wanfeng = "万丰驾校"
